<template>
  <div class="nav-middle">
    <i></i>
    <input type="text" placeholder="猜你所想" />
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss" scope>
.nav-middle {
  position: relative;
  padding: 0 0.16rem;
  flex: 1;
  i {
    background: url('/img/search.png') no-repeat 50%;
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    background-size: contain;
    position: absolute;
    left: 0.24rem;
    top: 0.08rem;
  }
  input {
    height: 0.52rem;
    background: hsla(0, 0%, 100%, 0.2);
    border: 0;
    border-radius: 0.04rem;
    font-size: 0.28rem;
    color: #999;
    text-align: center;
    box-sizing: border-box;
    outline: 0;
    width: 100%;
    overflow: visible;
    font-family: sans-serif;
    line-height: 1.15;
    padding: 0.02rem 0.04rem;
  }
}
</style>
